import Vue from 'vue'
import Router from 'vue-router'
import home from '../../views/home/home'
import fenlei from '../../views/fenlei/fenlei'
import gouwuche from '../../views/gouwuche/gouwuche'
import geren from '../../views/geren/geren'
import details from '../../views/details/details'

Vue.use(Router)

const routes = [
    {
        path: '/home',
        component:home
      },
      {
        path: '/fenlei',
        component:fenlei
      },
      {
        path: '/gouwuche',
        component:gouwuche
      },
      
      {
        path: '/geren',
        component:geren
      },
      {
        path: '/details/:iid',
        component:details
      }
]

export default new Router({
    routes,
})